# cd ../../
# rm -fr build
# cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DENABLE_TSAN=ON
# cmake --build build --target diagnostics_tsan
# ./run/diagnostics_tsan

cd ../../
rm -fr build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DENABLE_TSAN=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
cmake --build build --target diagnostics_tsan
TSAN_OPTIONS="protect_shadow_memory=0" ./run/diagnostics_tsan